/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren;
import io.renren.common.utils.IdWorker;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableDiscoveryClient
@EnableAutoDataSourceProxy
@SpringBootApplication
public class VastFinancialService8081 {

	public static void main(String[] args) {
		SpringApplication.run(VastFinancialService8081.class, args);
	}

	@Bean
	public IdWorker idWorker(){
		return new IdWorker();
	}
}